package model;

import java.io.Serializable;
/**
* @author 听风寂
* @date 2020/1/6
* @ClassName User
* @Description 类描述
*/
public class User implements Serializable{
	private String userName = null;
	private String password = null;
	private String name = null;
	private String email = null;
	private String telephone = null;
	private String sex = null;
	public User(String username, String password) {
		super();
		this.userName = username;
		this.password = password;
	}
	public User(String username, String password, String name, String email, String telephone, String sex) {
		super();
		this.userName = username;
		this.password = password;
		this.name = name;
		this.email = email;
		this.telephone = telephone;
		this.sex = sex;
	}
	public String getUsername() {
		return userName;
	}
	public void setUsername(String username) {
		this.userName = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	@Override
	public String toString() {
		return "User[username=" + userName + ", password=" + password + ", name=" + name + ", email=" + email
				+ ", telephone=" + telephone + ", sex=" + sex + "]";
	}
}
